import axios from "axios";
export function scan(ip,ifname){
    return axios.get("/api/mscan?ip=" + ip + "&ifname=" + ifname,{timeout:20000})
}

export function getInterfaces(){
    return axios.get("/api/interfaces/",{timeout:15000})
}